package m.a.r.i.o;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 2021/10/15
 */
@SpringBootApplication(scanBasePackages = {"m.a.r.i.o","x.y.z"})
public class Mario implements CommandLineRunner{

    @Value("${a.b.c}")
    private String word;

    public static void main(String[] args) {
        SpringApplication.run(Mario.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        System.out.println(word);
    }
}
